package com.oocl.euc.common.utils;

import com.oocl.euc.authentication.core.SSOUserContext;

public class UserContextHolder {

    private static ThreadLocal<SSOUserContext> tl = new ThreadLocal();

    public static void setUserContext(SSOUserContext userContext) {
        tl.set(userContext);
    }

    public static SSOUserContext getUserContext() {
        return tl.get();
    }
}
